<template>
    <div>
        <NavigationBar />
        <el-container style="margin-left: 200px;">
            <el-header>
                <h1>欢迎使用惊喜一餐！</h1>
            </el-header>
            <el-main>
                <router-view></router-view>
            </el-main>
        </el-container>
    </div>
</template>

<script>
    import NavigationBar from './NavigationBar.vue';

    export default {
        name: 'MainLayout',
        components: {
            NavigationBar
        }
    };
</script>